package com.eduadmin.mapper;

import com.eduadmin.entity.Student;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface StudentMapper {
    //hgm 批量增加学生
    int insertStudents(List<Student> students);
    //根据身份证号查学生
    Student selectStudentByIdcard(String studentIdCard);
    //hgm 获取所有学生
    List<Student> selectAllStudents(Map<String, Object> paraMap);
    //hgm 获取学生总数
    Long selectAllStudentTotal(Map<String, Object> paraMap);
    //hgm 编辑增加学生
    int insertORupdateStudent(Student student);
    //hgm  增加学生
    int insertStudent(Student student);
    //hgm del student
    int deleteStudent(String studentIdCardString);

}